/**
 * <p>
 * 弹窗配置
 *
 * @Author：Roy
 * @Description：碳数据
 * @Date：Create by 2023-12-01 10:45:08
 */
const popConfig = {
  'carbon-emission-data': {
    // 'carbon-emission-data-add': {
    //   popTitle: '新增碳汇数据',
    //   popType: 'OperateCarbonEmissionData',
    //   visible: true,
    //   popConfig: {
    //     width: '50%',
    //     destroy: true,
    //     popType: 'add'
    //   }
    // },
    'carbon-emission-data-detail': {
      popTitle: '详情',
      popType: 'OperateCarbonEmissionDataDetail',
      visible: true,
      popConfig: {
        width: '40%',
        destroy: true
      }
    },
    'carbon-emission-data-delete': {
      showType: 'confirm',
      confirmHeader: '提示',
      confirmContent: '确认删除？',
      splitProp: ['solidifyDate', 'projectName'],
      paramsProp: { id: 'id' },
      path: 'carbonEmissionData.deleteById'
    },
    // 'carbon-emission-data-import': {
    //   popTitle: '导入',
    //   popType: 'AddFile',
    //   visible: true,
    //   popConfig: {
    //     width: '50%',
    //     hideFooterBtn: true,
    //     // 上传接口
    //     upLoadPath: '/energy-carbon/ecp-admin/carbonEmissionData/upload',
    //     // 模板下载参数
    //     tplName: 'carbonEmissionDataRenderer'
    //   }
    // },
    'carbon-emission-data-deleteBatch': {
      showType: 'confirm',
      dataType: 'multipleList',
      confirmHeader: '提示',
      confirmContent: '确认批量删除？',
      splitProp: ['solidifyDate', 'projectName'],
      paramsProp: { ids: 'id' },
      path: 'carbonEmissionData.batchDelete'
    }
  }
}

export default {}
export { popConfig }
